package com.jredu.entity;

import java.util.List;

public class Role {
	private int id;
	private String name;
	private String desc;
	private List<Menu> menus;
	
	public List<Menu> getMenus() {
		return menus;
	}
	public void setMenus(List<Menu> menus) {
		this.menus = menus;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public Role(int id, String name, String desc) {
		super();
		this.id = id;
		this.name = name;
		this.desc = desc;
	}
	public Role() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Role(String name, String desc) {
		super();
		this.name = name;
		this.desc = desc;
	}
	
	
}
